package com.zhao.service;

import com.zhao.pojo.Admin;
import com.zhao.pojo.DrivingLicense;
import com.zhao.pojo.DrivingLicenseImpl;
import com.zhao.pojo.SchoolCounsellor;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface DrivingLicenseService {

    //admin
    String adminGetAllDL(Admin admin,HttpSession session);
    String adminGetOneDL(Admin admin, String DLID, HttpSession session);

    //校警
    String superviserFindDrivingLicense(String ebickID,HttpSession session);

    ///辅导员

    String getApplicationOfDrivingLicense(SchoolCounsellor schoolCounsellor,HttpSession session);
    String approveDrivingLicense(String drivingLicenseID,HttpSession session);
    String approveCancelDrivingLicense(String drivingLicenseID,HttpSession session);
    String rejectCancelDrivingLicense(String drivingLicenseID,HttpSession session);
    String rejectDrivingLicenseApplication(String drivingLicenseID,String rejectReason,HttpSession session);

    ///学生
    List<DrivingLicenseImpl> getDrivingLicenseImplByStudentID(String studentID);
    DrivingLicenseImpl getDrivingLicenseImplByID(String drivingLicenseID , HttpSession session);
    String getDrivingLicenseImpl(HttpSession session);
    String cancelDrivingLicense(String drivingLicenseID,String cancelReason,HttpSession session);
    String applyForDrivingLicense(String ebickID, HttpSession session);
    String cancleApplyForDrivingLicense(String ebickID, HttpSession session);
    String toCancel(String drivingLicenseID,HttpSession session);
    String getCancelDrivingLicenseApplication(HttpSession session);

}
